package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 招生战队周期
 * </p>
 *
 * @author min
 * @since 2023-02-14
 */
@TableName("enroll_team_period")
public class EnrollTeamPeriod implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 年份
     */
    private Integer yearPart;

    /**
     * 季度
     */
    private Integer quarterNum;

    /**
     * 期数：如1期为1
     */
    private Integer stageNum;

    /**
     * 年份与季度期数
     */
    private Integer allNum;

    /**
     * 开始日期
     */
    private LocalDate startDate;

    /**
     * 结束日期
     */
    private LocalDate endDate;

    /**
     * 1：使用中，2：结束
     */
    private Integer status;

    /**
     * 0
     */
    private Integer deleted;

    /**
     * 创建日期
     */
    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }

    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }

    public Integer getStageNum() {
        return stageNum;
    }

    public void setStageNum(Integer stageNum) {
        this.stageNum = stageNum;
    }

    public Integer getAllNum() {
        return allNum;
    }

    public void setAllNum(Integer allNum) {
        this.allNum = allNum;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "EnrollTeamPeriod{" +
        "id = " + id +
        ", yearPart = " + yearPart +
        ", quarterNum = " + quarterNum +
        ", stageNum = " + stageNum +
        ", allNum = " + allNum +
        ", startDate = " + startDate +
        ", endDate = " + endDate +
        ", status = " + status +
        ", deleted = " + deleted +
        ", createdAt = " + createdAt +
        "}";
    }
}
